package com.gump.mall.modules.ums.service.impl;

import org.springframework.stereotype.Service;

import javax.annotation.Resource;

import com.gump.mall.modules.ums.model.UmsRoleMenuRelation;
import com.gump.mall.modules.ums.mapper.UmsRoleMenuRelationMapper;
import com.gump.mall.modules.ums.service.UmsRoleMenuRelationService;

/**
 * @auther zzc
 * @date 2020/9/10 16:20
 * 概要：
 */

@Service
public class UmsRoleMenuRelationServiceImpl implements UmsRoleMenuRelationService {

    @Resource
    private UmsRoleMenuRelationMapper umsRoleMenuRelationMapper;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return umsRoleMenuRelationMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(UmsRoleMenuRelation record) {
        return umsRoleMenuRelationMapper.insert(record);
    }

    @Override
    public int insertSelective(UmsRoleMenuRelation record) {
        return umsRoleMenuRelationMapper.insertSelective(record);
    }

    @Override
    public UmsRoleMenuRelation selectByPrimaryKey(Long id) {
        return umsRoleMenuRelationMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(UmsRoleMenuRelation record) {
        return umsRoleMenuRelationMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(UmsRoleMenuRelation record) {
        return umsRoleMenuRelationMapper.updateByPrimaryKey(record);
    }

}
